﻿using System;
using SqlSugar;

namespace Blog.Models.Entitys
{
    /// <summary>
    /// 文章评论
    /// </summary>
    [SugarTable(TableDescription = "文章评论")]
    public class BlogArticleComments : BaseEntity
    {
        /// <summary>
        /// 评论类容
        /// </summary>
        [SugarColumn(ColumnDescription = "评论内容", ColumnDataType = "ntext")]
        public string? Content { get; set; }

        [SugarColumn(ColumnDescription = "发送人的用户Id")]
        public int? UserId { get; set; }

        [SugarColumn(ColumnDescription = "对应的文章Id")]
        public int? ArticleId { get; set; }
    }
}
